package com.hu.ssm.pojo;

public class Books {
	private int bookid;
	private String bookname;
	private int bookcounts;
	private String detail;
	public Books() {}
	public Books(int bookid, String bookname, int bookcounts, String detail) {
		super();
		this.bookid = bookid;
		this.bookname = bookname;
		this.bookcounts = bookcounts;
		this.detail = detail;
	}
	public int getBookid() {
		return bookid;
	}
	public void setBookid(int bookid) {
		this.bookid = bookid;
	}
	public String getBookname() {
		return bookname;
	}
	public void setBookname(String bookname) {
		this.bookname = bookname;
	}
	public int getBookcounts() {
		return bookcounts;
	}
	public void setBookcounts(int bookcounts) {
		this.bookcounts = bookcounts;
	}
	public String getDetail() {
		return detail;
	}
	public void setDetail(String detail) {
		this.detail = detail;
	}
	@Override
	public String toString() {
		return "Books [bookid=" + bookid + ", bookname=" + bookname + ", bookcounts=" + bookcounts + ", detail="
				+ detail + "]";
	}
	
}
